<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">

<title>权限管理系统－登陆</title>

<link rel="stylesheet" href="${resurl}/css/bootstrap.min.css">
<link rel="stylesheet" href="${resurl}/css/bootstrap-theme.css">
<link rel="stylesheet" href="${resurl}/css/bootstrap-switch.css">
<link href="${resurl}/css/login.css" rel="stylesheet">
<script type="text/javascript" src="${resurl }/js/jquery.js"></script>
<script src="${resurl}/js/bootstrap.min.js" type="text/javascript"></script>
</head>

<body>
	<div class="container">
		<form class="form-signin" action="${resurl }/loginAction.pms"
			method="post">
			<h2 class="form-signin-heading">请登录</h2>
			<label for="inputUserName" class="sr-only">用户名</label> <input
				name="username" type="text" id="inputUserName" class="form-control"
				placeholder="输入用户名" required="" autofocus=""> <label
				for="inputPassword" class="sr-only">密码</label> <input
				name="password" type="password" id="inputPassword"
				class="form-control" placeholder="输入密码" required="">
			<div class="checkbox">
				<label> <input type="checkbox" value="remember-me">记住我
				</label>
			</div>
			
                 <div class="col-sm-6 col-lg-4">
            <h2 class="h4">State</h2>
            <p>
              <input id="switch-state" type="checkbox" checked>
            </p>
            <div class="btn-group">
              <button type="button" data-switch-toggle="state" class="btn btn-default">Toggle</button>
              <button type="button" data-switch-set="state" data-switch-value="true" class="btn btn-default">Set true</button>
              <button type="button" data-switch-set="state" data-switch-value="false" class="btn btn-default">Set false</button>
              <button type="button" data-switch-get="state" class="btn btn-default">Get</button>
            </div>
          </div>
          
            <script type="text/javascript" src="${resurl }/js/bootstrap-switch.js"></script>
            
			<button class="btn btn-lg btn-primary btn-block" type="submit">登陆</button>
		</form>
	</div>
</body>
</html>
